@layout("/common/_container.html",{js:["/assets/transport/dispatch/editmoney.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<style type="text/css">
    .layui-form-item {
    	margin-bottom: 0px;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="tDispatchForm" lay-filter="tDispatchForm" class="layui-form layui-form-pane" style="max-width: 1140px;margin: 10px auto;">
                <input name="dispatchNumber" id="dispatchNumber" type="hidden"/>
                <input name="carrierId" id="carrierId" type="hidden"/>
                <input name="carId" id="carId" type="hidden"/>
				  
                <div class="layui-form-item">
                    <div class="layui-input-block" style="margin-top: 70px;">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title">
			    	<legend>运输信息</legend>
			  	</fieldset>
                  <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label" style="font-weight: 600;">承运商<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="carrierName" name="carrierName" placeholder="选择承运商" type="text" class="layui-input" lay-filter="carrierName" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">承运方式</label>
				      <div class="layui-input-inline" style="width: 150px;">
	                        <select id="chengyunfangshi" name="chengyunfangshi" lay-filter="chengyunfangshi" lay-verify="" required>
	                            <option value="整车">整车</option>
	                            <option value="拼车">拼车</option>
	                            <option value="零担">零担</option>
	                            <option value="快递">快递</option>
	                            <option value="物流">物流</option>
	                        </select>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label" style="font-weight: 600;">发车日期<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="startDate" name="startDate" placeholder="请选择发车日期" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">承运类型</label>
				      <div class="layui-input-inline" style="width: 150px;">
	                        <select id="chengyunleixing" name="chengyunleixing" lay-filter="chengyunleixing" lay-verify="" required>
	                            <option value=""></option>
	                            <option value="司机">司机</option>
	                            <option value="承运商">承运商</option>
	                        </select>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label">要求发车时间</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="yaoqiushijian" name="yaoqiushijian" placeholder="请选择要求发车时间" type="text" class="layui-input" lay-verify="" required readonly="readonly" style="background: #E7EAED"/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">要求到达时间</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="daodashijian" name="daodashijian" placeholder="请选择要求到达时间" type="text" class="layui-input" lay-verify="" required readonly="readonly" style="background: #E7EAED"/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">调度员</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="dianduyuan" name="dianduyuan" placeholder="请输入调度员" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label" style="font-weight: 600;">行驶里程</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="mileageTraveled" name="mileageTraveled" placeholder="请计算行驶里程" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                            <!-- <input id="mileageTraveled" name="mileageTraveled" placeholder="请计算行驶里程" type="text" class="layui-input" lay-verify="" required/> -->
				      </div>
				      <div class="layui-form-mid">    </div>
				      <div class="layui-input-inline" style="width: 120px;">
                           	<button class="layui-btn layui-btn-normal" type="button" id="transportSet"><i class="layui-icon">&#xe716;</i>配送设置</button>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <div class="layui-input-inline" style="width: 120px;">
                           	<button class="layui-btn layui-btn-normal" type="button" id="count"><i class="layui-icon">&#xe715;</i>计算里程</button>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">装车方</label>
				      <div class="layui-input-inline" style="width: 150px;">
	                        <select id="loadingType" name="loadingType" lay-filter="loadingType" lay-verify="" required>
	                            <option value="仓库" selected="">仓库</option>
	                            <option value="自装">自装</option>
	                        </select>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label" id="loadingNumberlabel">装卸工号</label>
				      <div class="layui-input-inline" style="width: 150px;" id="loadingNumberdiv">
                            <input id="loadingNumbers" name="loadingNumbers" placeholder="请输入工号英文,隔开" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div>
				  
                  <!-- <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label">拆零封箱数</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="sealingNumber" name="sealingNumber" placeholder="请输入数量" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div> -->
				  
				  
                <!-- <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>卸车费信息</legend>
			  	</fieldset>
                  <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label">卸车费</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="xiechefei" name="xiechefei" placeholder="请输入卸车费" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">结算对象</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="payeeX" name="payeeX" placeholder="请输入结算对象" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">开户行</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bankX" name="bankX" placeholder="请输入开户行" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">开户地</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bankAddressX" name="bankAddressX" placeholder="请输入开户地" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label">银行账号</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bankAccountX" name="bankAccountX" placeholder="请输入银行账号" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">联行号</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bankNoX" name="bankNoX" placeholder="请输入联行号" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">结算周期</label>
				      <div class="layui-input-inline" style="width: 150px;">
	                        <select id="cycleX" name="cycleX" lay-filter="cycleX" lay-verify="" required>
	                            <option value=""></option>
	                            <option value="月结">月结</option>
	                            <option value="回单结算">回单结算</option>
	                        </select>
				      </div>
				    </div>
				  </div> -->
				  
				  
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>运费信息</legend>
			  	</fieldset>
                  <div class="layui-form-item">
				    <div class="layui-inline">
<!--                            <label class="layui-form-label" style="font-weight: 600;">付款参考金额<span style="color: red;">*</span></label>-->
<!--				      <div class="layui-input-inline" style="width: 150px;">-->
<!--                            <input id="consultMoney" name="consultMoney" placeholder="" type="text" class="layui-input" lay-verify="" required readonly="readonly" style="background: #E7EAED"/>-->
<!--				      </div>-->
<!--						&lt;!&ndash;//计算费用&ndash;&gt;-->
<!--				       <div class="layui-form-mid">    </div>-->
<!--				      <div class="layui-input-inline" style="width: 120px;">-->
<!--                           	<button class="layui-btn layui-btn-normal" type="button" id="countCost"><i class="layui-icon">&#xe716;</i>计算费用1111</button>-->
<!--				      </div>-->
<!--				      <div class="layui-form-mid">    </div>-->
<!--				      <div class="layui-input-inline" style="width: 120px;">-->
<!--                           	<button class="layui-btn layui-btn-normal" type="button" id="costDetail"><i class="layui-icon">&#xe615;</i>费用明细</button>-->
<!--				      </div>-->
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label" style="font-weight: 600;">运费<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="freightMoney" name="freightMoney" placeholder="请输入金额" type="text" class="layui-input" lay-verify="required" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">装车费</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="loadingMoney" name="loadingMoney" placeholder="请输入金额" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <!-- <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">结算对象</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="payee" name="payee" placeholder="请输入结算对象" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">开户行</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bank" name="bank" placeholder="请输入开户行" type="text" class="layui-input" lay-verify="" required/>
				      </div> -->
				    </div>
				  </div>
				  
                  <!-- <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label">开户地</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bankAddress" name="bankAddress" placeholder="请输入开户地" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">银行账号</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bankAccount" name="bankAccount" placeholder="请输入银行账号" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">联行号</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <input id="bankNo" name="bankNo" placeholder="请输入联行号" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">结算周期</label>
				      <div class="layui-input-inline" style="width: 150px;">
	                        <select id="cycle" name="cycle" lay-filter="cycle" lay-verify="" required>
	                            <option value=""></option>
	                            <option value="月结">月结</option>
	                            <option value="回单结算">回单结算</option>
	                        </select>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label">油卡号</label>
				      <div class="layui-input-inline" style="width: 150px;">
                            <select id="oilCardNumber" name="oilCardNumber" lay-filter="" lay-verify="" required>
	                            <option value=""></option>
                                @for(item in basicOilCardlist!){
                                <option value="${item.cardNumber}">${item.cardName}，${item.cardNumber}</option>
                                @}
                            </select>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
                            <label class="layui-form-label">付款备注</label>
				      <div class="layui-input-inline" style="width: 650px;">
                            <input id="settlementNotes" name="settlementNotes" placeholder="请输入付款备注" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div> -->
				  
                  <div class="layui-form-item layui-form-text">
				    <div class="layui-inline" style="margin-bottom: 20px;">
                            <label class="layui-form-label">备注</label>
				      <div class="layui-input-inline" style="width: 750px;">
				        	<textarea placeholder="请输入内容" class="layui-textarea" name="notes"></textarea>
				      </div>
				    </div>
				  </div>
            </form>
        </div>
    </div>
</div>

@}